package com.wfw.gateway;

import org.apache.commons.lang3.StringUtils;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@SpringBootApplication
@EnableAutoConfiguration
@RestController
@EnableHystrix
public class WfwGatewayApplication {

	public static void main(String[] args) {
		new SpringApplicationBuilder(WfwGatewayApplication.class).run(args);
	}
	@RequestMapping("/")
	public String home() {
		return "Hello world";
	}

}
